--------------------------------------------------------------------------
Setup hints for Class fax 2 modems, with MainDOOR 1.02            11-18-96
B.J. Guillot                                              bgfax@blkbox.com
FidoNet 1:106/400                            http://www.blkbox.com/~bgfax/
--------------------------------------------------------------------------

Please make sure the following two items are true before proceeding...
(1) Your modem is NOT set to "Auto Answer" mode (REGISTER S0 MUST EQUAL 0)
(2) You have already put all relevant DATA commands for the BBS into NVRAM

Note that, generally, fax (AT+F) commands CANNOT be stored in NVRAM.

Here is the relevant information from MDSETUP ...

[MDSETUP] Modem -> Strings
  Init string #1 ........... ATZ|
  Init string #2 ........... AT+FCR=1|
  Init string #3 ........... AT+FDCC=1,3,0,2,0,0,0,0|
  Force answer string #1 ... AT+FAA=1;A|
  Force answer #2 and #3 should be empty.

: atz                      automatically recalls data commands in NVRAM
: +fcr=1                   enables fax receiption
:
: +fdcc=1,3,0,2,0,0,0,0    allow high res, 9600, 1D compression [recommended]
: +fdcc=1,5,0,2,0,0,0,0    enable high resolution, 14400, 1D compression
: +fdcc=1,5,0,2,1,0,0,0    enable high res, 14400, 1D and 2D compression
:
: The "at+faa=1;a" causes the modem to answer adaptively, i.e., to auto-
: matically determine whether the incoming call is fax or data and return
: the response to the modem.

==========================================================================

If you are using a modem that returns a "FAX" response ... [METHOD #1]
(Modems such as the Supra and Zoom).

[MDSETUP] Modem -> User defined msg.

You will see a list of 10 lines.  Move the highlighted bar to the first
empty line, and press <Enter>...

  # String                 Errlvl               Action
  1 FAX                    0                    Fax Session

MD/OS2: You will need to create a file called EXEFAX.CMD.  (This file is to
be placed in the "flag" directory if it is defined in MDSETUP, otherwise it
must be placed in the main MDOOR directory.)
MD/DOS: The file is called EXEFAX.BAT instead of EXEFAX.CMD.

EXEFAX.CMD (for OS/2)
~~~~~~~~~~
@echo off
c:\bgfax\bgfax2 /fax c:\bgfax h%4 z
if errorlevel 4 echo . > mdfax.now

EXEFAX.BAT (for DOS)
~~~~~~~~~~
@echo off
c:\bgfax\bgfax /fax c:\bgfax 1 z
REM note the "1" above stands for "COM1", change that if necessary
if errorlevel 4 echo . > mdfax.now


==========================================================================

If you are using a modem that returns a "+FCON" response ... [METHOD #2]
(Modems such as the PPI, GVC, and Intel).

[MDSETUP] Modem -> User defined msg.

You will see a list of 10 lines.  Move the highlighted bar to the first
empty line, and press <Enter>...

  # String                 Errlvl               Action
  1 +FCON                  0                    Fax Session

MD/OS2: You will need to create a file called EXEFAX.CMD.  (This file is to
be placed in the "flag" directory if it is defined in MDSETUP, otherwise it
must be placed in the main MDOOR directory.)
MD/DOS: The file is called EXEFAX.BAT instead of EXEFAX.CMD.

EXEFAX.CMD (for OS/2)
~~~~~~~~~~
@echo off
c:\bgfax\bgfax2 /fast:4 c:\bgfax h%4 z
if errorlevel 4 echo . > mdfax.now

EXEFAX.BAT (for DOS)
~~~~~~~~~~
@echo off
c:\bgfax\bgfax /fast:4 c:\bgfax 1 z
REM note the "1" is for "COM1", change that if necessary
if errorlevel 4 echo . > mdfax.now


==========================================================================

See BGFAX.DOC for a detailed description of the differences between
/FAX, /FAST, /FAST:nn and /FCON.

Regards,
B.J. Guillot

